package com.yaser.service;

import com.yaser.model.User;
import com.yaser.util.exceptions.FreeBoxServiceException;


/**
 * 
 * Responsible for {@link User} operations
 * 
 * @author yasar.yasa
 *
 */
public interface UserService {

	/**
	 * 
	 * Persists the given {@link User} object
	 * 
	 * @param user
	 * 				{@link User} object
	 * @return
	 * 			{@link User} with db id
	 * 
	 * @throws FreeBoxServiceException
	 */
	public User saveUser(User user) throws FreeBoxServiceException;
	
}
